import { createPinia } from 'pinia'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'


// 引入字体图标
import "./assets/font/iconfont.css"
// 1. 引入你需要的组件
import {
    Popup,
    Tab,
    Tabs,
    Popover,
    Progress,
    Swipe,
    SwipeItem,
    Sticky,
    Sidebar,
    SidebarItem,
    Loading,
    Empty,
    Slider,
    Switch,
    Picker,
    ShareSheet,
    Rate,
    Icon,
    Dialog, 
    Checkbox,
    CheckboxGroup,
    Cell,
    CellGroup,
    SwipeCell,
    Button
} from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';


createApp(App)
    .use(createPinia()).use(router)
    .use(Popup)
    .use(Popover)
    .use(Tab)
    .use(Progress)
    .use(Tabs)
    .use(Swipe)
    .use(SwipeItem)
    .use(Sticky)
    .use(Sidebar)
    .use(SidebarItem)
    .use(Loading )
    .use(Empty )
    .use(Slider)
    .use(Switch)
    .use(Picker)
    .use(ShareSheet)
    .use(Rate)
    .use(Icon)
    .use(Dialog)
    .use(Checkbox)
    .use(CheckboxGroup)
    .use(Cell)
    .use(CellGroup)
    .use(SwipeCell)
    .use(Button)
    .mount('#app');



